package com.tencent.wework.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @ClassName Msg
 * @Description: TODO
 * @Author Administrator
 * @Date 2020/8/26 15 10
 * @Version V1.0
 **/
@Data
@ApiModel("消息总体")
public class Msg {

    @ApiModelProperty("消息id")
    private String msgid;

    @ApiModelProperty("消息动作，目前有send(发送消息)/recall(撤回消息)/switch(切换企业日志)三种类型")
    private String action;

    @ApiModelProperty("消息发送方")
    private String from;

    @ApiModelProperty("消息接收方列表")
    private List<String> tolist;

    @ApiModelProperty("群聊id")
    private String roomid;

    @ApiModelProperty("消息发送时间戳")
    private String msgtime;

    @ApiModelProperty("消息发送类型")
    private String msttype;
}
